package com.eigland.eigaland_lib.network

import com.eigland.eigaland_lib.model.*
import kotlinx.coroutines.Deferred
import retrofit2.http.Body
import retrofit2.http.POST

interface LoginService{
    @POST("/api/v1/auth/selfCashier/clientLoginBySecret")
    fun login(@Body loginLoginRequest: LoginDeviceRequest): Deferred<BaseResp<LoginResponse>>

    @POST("/api/v1/auth/registerDevice")
    fun registerDevice(@Body request: RegisterDeviceRequest):Deferred<BaseResp<RegisterDeviceResponse>>




}